<?php foreach ($posts as $post): ?>
  <div class="post">
    <h3><?php echo link_to($post->getDisplayTitle(), '@default?module=post&action=show&handle='.$post->getHandle()); ?></h3>
    <div class="user">
      <?php echo $post->getUser()->getName(); ?>
    </div>
    
    
    <?php echo image_tag(myTools::getUploadDir($post->getUser(), 'full').$post->getFile(), array('alt' => __('Screenshot'))); ?>
    
    <?php if ($post->getContent()): ?>
      <div class="content">
        <?php echo $post->getContent(); ?>
      </div>
    <?php endif; ?>
    
  </div>  
<?php endforeach; ?>
